﻿using AutoMapper;

using B.S.DataBase.MyProject.Domain;
using B.S.DataBase.MyRead.API.DTOs;

namespace B.S.DataBase.MyRead.API
{
    public class AutoMapperFilePro : Profile
    {
        public AutoMapperFilePro()
        {
            CreateMap<ChildMenuDto, Menu>().ReverseMap();
            CreateMap<ChildrenMenusDto, Menu>().ReverseMap();
            CreateMap<getRolesDto, Role>().ReverseMap();


            CreateMap<DepHeadsDto, User>().ReverseMap();


            CreateMap<LeaveApplicationsHeadsDtos, LeaveApplications>().ReverseMap();

            

        }
    }
}